package com.webchat.chat.service;
import com.webchat.chat.model.ChatRecord;
import com.webchat.chat.core.Service;

import java.util.Date;
import java.util.List;


/**
 * Created by admin on 2018-06-29.
 */
public interface ChatRecordService extends Service<ChatRecord> {


    Boolean messageAudit(String chatRecordIds);

    List<ChatRecord> findNeedAuditMessageByTenantCode(String tenantCode);

    List<ChatRecord> findChatRecordByInfo(ChatRecord chatRecord);

    List<ChatRecord> findByRoomId(String roomId, Date endTime);

}
